// const Bundle = require('./bundle.js')
import Bundle from './bundle.js'
export default function rollup(entry,optputFileName){
  const bundle = new Bundle({entry});
  try {
    bundle.build(optputFileName)
  } catch (error) {
    console.log(error);
  }
}
